<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Programación en Entornos Interactivos 2010/2011: Fichero Fuente Vista-qt/VistaQtAsignaturas.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generado por Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="pages.html"><span>Páginas&nbsp;relacionadas</span></a></li>
      <li><a href="annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
    </ul>
  </div>
<h1>Vista-qt/VistaQtAsignaturas.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef VISTAQTASIGNATURAS_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define VISTAQTASIGNATURAS_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QListWidget&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;Vista.h&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;Asignatura.h&quot;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="keyword">namespace </span>Ui {
<a name="l00010"></a>00010     <span class="keyword">class </span><a class="code" href="classVistaQtAsignaturas.html">VistaQtAsignaturas</a>;
<a name="l00011"></a>00011 }
<a name="l00012"></a>00012 
<a name="l00017"></a><a class="code" href="classVistaQtAsignaturas.html">00017</a> <span class="keyword">class </span><a class="code" href="classVistaQtAsignaturas.html">VistaQtAsignaturas</a> : <span class="keyword">public</span> QListWidget, <span class="keyword">public</span> <a class="code" href="classVista.html">Vista</a>
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019     Q_OBJECT
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">public</span>:
<a name="l00026"></a>00026     <span class="keyword">explicit</span> <a class="code" href="classVistaQtAsignaturas.html#a509ea8d869b7aae1c620878f908e76f0">VistaQtAsignaturas</a>(QWidget *parent = 0);
<a name="l00027"></a>00027 
<a name="l00031"></a>00031     <a class="code" href="classVistaQtAsignaturas.html#a76151bf85dd2ce6e83a7b668e8877423">~VistaQtAsignaturas</a>();
<a name="l00032"></a>00032 
<a name="l00036"></a>00036     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#a8d75877424d2c628ef9a27707309f487">refrescar</a>();
<a name="l00037"></a>00037 
<a name="l00041"></a>00041     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#a7eef1de5372cf404f643d1b7ed311e89">quitarAsignaturaSeleccionada</a>();
<a name="l00042"></a>00042 
<a name="l00047"></a>00047     <a class="code" href="classAsignatura.html">Asignatura</a>* <a class="code" href="classVistaQtAsignaturas.html#a18682c04e33947d9ba4ad2384bbec991">obtenerSeleccionada</a>() <span class="keyword">const</span>;
<a name="l00048"></a>00048 
<a name="l00052"></a>00052     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#afe7c2596ae5511a0627038176dfd6f09">deseleccionar</a>();
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <span class="keyword">private</span>:
<a name="l00055"></a>00055     Ui::VistaQtAsignaturas *ui;
<a name="l00056"></a>00056     std::map&lt;Asignatura*, QListWidgetItem*&gt; vinculos;
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 signals:
<a name="l00066"></a>00066     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#ab7242cc404150b4b5e8d562b22e2fa7d">asignaturaSeleccionadaCambio</a>(<a class="code" href="classAsignatura.html">Asignatura</a> *asignatura);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 <span class="keyword">private</span> slots:
<a name="l00074"></a>00074     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#ae06f3b594b230e3007ac26e1cdbc400b">itemClicked</a>(QListWidgetItem* item);
<a name="l00075"></a>00075 
<a name="l00080"></a>00080     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#ad6f0625c9e3fccb6a1edcfaa0aee0611">itemSelectionChanged</a>();
<a name="l00081"></a>00081 
<a name="l00087"></a>00087     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignaturas.html#ade9f5abe608180598d857f3cecfc84b8">itemChanged</a>(QListWidgetItem *item);
<a name="l00088"></a>00088 };
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#endif // VISTAQTASIGNATURAS_H</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generado el Mon Apr 25 18:18:54 2011 para Programación en Entornos Interactivos 2010/2011 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
